﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A49 RID: 2633
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LIJEAKIKPBA : IMessage<LIJEAKIKPBA>, IMessage, IEquatable<LIJEAKIKPBA>, IDeepCloneable<LIJEAKIKPBA>, IBufferMessage
	{
		// Token: 0x1700213D RID: 8509
		// (get) Token: 0x060075EE RID: 30190 RVA: 0x0013A9DB File Offset: 0x00138BDB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LIJEAKIKPBA> Parser
		{
			get
			{
				return LIJEAKIKPBA._parser;
			}
		}

		// Token: 0x1700213E RID: 8510
		// (get) Token: 0x060075EF RID: 30191 RVA: 0x0013A9E2 File Offset: 0x00138BE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LIJEAKIKPBAReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700213F RID: 8511
		// (get) Token: 0x060075F0 RID: 30192 RVA: 0x0013A9F4 File Offset: 0x00138BF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LIJEAKIKPBA.Descriptor;
			}
		}

		// Token: 0x060075F1 RID: 30193 RVA: 0x0013A9FB File Offset: 0x00138BFB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LIJEAKIKPBA()
		{
		}

		// Token: 0x060075F2 RID: 30194 RVA: 0x0013AA04 File Offset: 0x00138C04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LIJEAKIKPBA(LIJEAKIKPBA other) : this()
		{
			this.costData_ = ((other.costData_ != null) ? other.costData_.Clone() : null);
			this.hNNCGIBOHCO_ = other.hNNCGIBOHCO_;
			this.miracleId_ = other.miracleId_;
			this.bKAEEIGENOA_ = other.bKAEEIGENOA_;
			this.iDIMBKMJOMA_ = ((other.iDIMBKMJOMA_ != null) ? other.iDIMBKMJOMA_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060075F3 RID: 30195 RVA: 0x0013AA84 File Offset: 0x00138C84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LIJEAKIKPBA Clone()
		{
			return new LIJEAKIKPBA(this);
		}

		// Token: 0x17002140 RID: 8512
		// (get) Token: 0x060075F4 RID: 30196 RVA: 0x0013AA8C File Offset: 0x00138C8C
		// (set) Token: 0x060075F5 RID: 30197 RVA: 0x0013AA94 File Offset: 0x00138C94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemCostData CostData
		{
			get
			{
				return this.costData_;
			}
			set
			{
				this.costData_ = value;
			}
		}

		// Token: 0x17002141 RID: 8513
		// (get) Token: 0x060075F6 RID: 30198 RVA: 0x0013AA9D File Offset: 0x00138C9D
		// (set) Token: 0x060075F7 RID: 30199 RVA: 0x0013AAA5 File Offset: 0x00138CA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool HNNCGIBOHCO
		{
			get
			{
				return this.hNNCGIBOHCO_;
			}
			set
			{
				this.hNNCGIBOHCO_ = value;
			}
		}

		// Token: 0x17002142 RID: 8514
		// (get) Token: 0x060075F8 RID: 30200 RVA: 0x0013AAAE File Offset: 0x00138CAE
		// (set) Token: 0x060075F9 RID: 30201 RVA: 0x0013AAB6 File Offset: 0x00138CB6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MiracleId
		{
			get
			{
				return this.miracleId_;
			}
			set
			{
				this.miracleId_ = value;
			}
		}

		// Token: 0x17002143 RID: 8515
		// (get) Token: 0x060075FA RID: 30202 RVA: 0x0013AABF File Offset: 0x00138CBF
		// (set) Token: 0x060075FB RID: 30203 RVA: 0x0013AAC7 File Offset: 0x00138CC7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool BKAEEIGENOA
		{
			get
			{
				return this.bKAEEIGENOA_;
			}
			set
			{
				this.bKAEEIGENOA_ = value;
			}
		}

		// Token: 0x17002144 RID: 8516
		// (get) Token: 0x060075FC RID: 30204 RVA: 0x0013AAD0 File Offset: 0x00138CD0
		// (set) Token: 0x060075FD RID: 30205 RVA: 0x0013AAD8 File Offset: 0x00138CD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemCostData IDIMBKMJOMA
		{
			get
			{
				return this.iDIMBKMJOMA_;
			}
			set
			{
				this.iDIMBKMJOMA_ = value;
			}
		}

		// Token: 0x060075FE RID: 30206 RVA: 0x0013AAE1 File Offset: 0x00138CE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LIJEAKIKPBA);
		}

		// Token: 0x060075FF RID: 30207 RVA: 0x0013AAF0 File Offset: 0x00138CF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LIJEAKIKPBA other)
		{
			return other != null && (other == this || (object.Equals(this.CostData, other.CostData) && this.HNNCGIBOHCO == other.HNNCGIBOHCO && this.MiracleId == other.MiracleId && this.BKAEEIGENOA == other.BKAEEIGENOA && object.Equals(this.IDIMBKMJOMA, other.IDIMBKMJOMA) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007600 RID: 30208 RVA: 0x0013AB74 File Offset: 0x00138D74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.costData_ != null)
			{
				num ^= this.CostData.GetHashCode();
			}
			if (this.HNNCGIBOHCO)
			{
				num ^= this.HNNCGIBOHCO.GetHashCode();
			}
			if (this.MiracleId != 0U)
			{
				num ^= this.MiracleId.GetHashCode();
			}
			if (this.BKAEEIGENOA)
			{
				num ^= this.BKAEEIGENOA.GetHashCode();
			}
			if (this.iDIMBKMJOMA_ != null)
			{
				num ^= this.IDIMBKMJOMA.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007601 RID: 30209 RVA: 0x0013AC11 File Offset: 0x00138E11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007602 RID: 30210 RVA: 0x0013AC19 File Offset: 0x00138E19
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007603 RID: 30211 RVA: 0x0013AC24 File Offset: 0x00138E24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.BKAEEIGENOA)
			{
				output.WriteRawTag(16);
				output.WriteBool(this.BKAEEIGENOA);
			}
			if (this.HNNCGIBOHCO)
			{
				output.WriteRawTag(32);
				output.WriteBool(this.HNNCGIBOHCO);
			}
			if (this.MiracleId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.MiracleId);
			}
			if (this.iDIMBKMJOMA_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.IDIMBKMJOMA);
			}
			if (this.costData_ != null)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.CostData);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007604 RID: 30212 RVA: 0x0013ACD4 File Offset: 0x00138ED4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.costData_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.CostData);
			}
			if (this.HNNCGIBOHCO)
			{
				num += 2;
			}
			if (this.MiracleId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MiracleId);
			}
			if (this.BKAEEIGENOA)
			{
				num += 2;
			}
			if (this.iDIMBKMJOMA_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.IDIMBKMJOMA);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007605 RID: 30213 RVA: 0x0013AD5C File Offset: 0x00138F5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LIJEAKIKPBA other)
		{
			if (other == null)
			{
				return;
			}
			if (other.costData_ != null)
			{
				if (this.costData_ == null)
				{
					this.CostData = new ItemCostData();
				}
				this.CostData.MergeFrom(other.CostData);
			}
			if (other.HNNCGIBOHCO)
			{
				this.HNNCGIBOHCO = other.HNNCGIBOHCO;
			}
			if (other.MiracleId != 0U)
			{
				this.MiracleId = other.MiracleId;
			}
			if (other.BKAEEIGENOA)
			{
				this.BKAEEIGENOA = other.BKAEEIGENOA;
			}
			if (other.iDIMBKMJOMA_ != null)
			{
				if (this.iDIMBKMJOMA_ == null)
				{
					this.IDIMBKMJOMA = new ItemCostData();
				}
				this.IDIMBKMJOMA.MergeFrom(other.IDIMBKMJOMA);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007606 RID: 30214 RVA: 0x0013AE18 File Offset: 0x00139018
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007607 RID: 30215 RVA: 0x0013AE24 File Offset: 0x00139024
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 32U)
				{
					if (num == 16U)
					{
						this.BKAEEIGENOA = input.ReadBool();
						continue;
					}
					if (num == 32U)
					{
						this.HNNCGIBOHCO = input.ReadBool();
						continue;
					}
				}
				else
				{
					if (num == 40U)
					{
						this.MiracleId = input.ReadUInt32();
						continue;
					}
					if (num == 74U)
					{
						if (this.iDIMBKMJOMA_ == null)
						{
							this.IDIMBKMJOMA = new ItemCostData();
						}
						input.ReadMessage(this.IDIMBKMJOMA);
						continue;
					}
					if (num == 82U)
					{
						if (this.costData_ == null)
						{
							this.CostData = new ItemCostData();
						}
						input.ReadMessage(this.CostData);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002CF0 RID: 11504
		private static readonly MessageParser<LIJEAKIKPBA> _parser = new MessageParser<LIJEAKIKPBA>(() => new LIJEAKIKPBA());

		// Token: 0x04002CF1 RID: 11505
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002CF2 RID: 11506
		public const int CostDataFieldNumber = 10;

		// Token: 0x04002CF3 RID: 11507
		private ItemCostData costData_;

		// Token: 0x04002CF4 RID: 11508
		public const int HNNCGIBOHCOFieldNumber = 4;

		// Token: 0x04002CF5 RID: 11509
		private bool hNNCGIBOHCO_;

		// Token: 0x04002CF6 RID: 11510
		public const int MiracleIdFieldNumber = 5;

		// Token: 0x04002CF7 RID: 11511
		private uint miracleId_;

		// Token: 0x04002CF8 RID: 11512
		public const int BKAEEIGENOAFieldNumber = 2;

		// Token: 0x04002CF9 RID: 11513
		private bool bKAEEIGENOA_;

		// Token: 0x04002CFA RID: 11514
		public const int IDIMBKMJOMAFieldNumber = 9;

		// Token: 0x04002CFB RID: 11515
		private ItemCostData iDIMBKMJOMA_;
	}
}
